package com.azxc.rapid.plus.user.feign;

import com.azxc.rapid.core.tool.api.R;
import com.azxc.rapid.system.user.entity.User;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author linym
 * @className: IUserSearchPlusClientFallback
 * @description:
 * @date 2022/8/23 15:08
 * @version：1.0
 */
@Component
public class IUserSearchPlusClientFallback implements IUserSearchPlusClient {
	@Override
	public R<List<User>> listByUser(String userId) {
		return R.fail("获取用户信息失败！");
	}

	@Override
	public R<List<User>> listByDept(String deptId) {
		return R.fail("获取用户信息失败！");
	}

	@Override
	public R<List<User>> listByPost(String postId) {
		return R.fail("获取用户信息失败！");
	}

	@Override
	public R<List<User>> listByRole(String roleId) {
		return R.fail("获取用户信息失败！");
	}
}
